Api

object Api

API for PopupWidgets. Add, remove, and interact with popups here.

Author

fzzyhmstrs

Since

0.2.0

Functions

Link copied to clipboard
fun focusElement(element: Element)

Provides an element for the current popup widget to focus on.

Link copied to clipboard
fun pop()

Removes the top widget from the current me.fzzyhmstrs.fzzy_config.screen.PopupWidgetScreen widget stack, if any

Link copied to clipboard
fun push(popup: PopupWidget?)

Sets a PopupWidget to the current screen, if the current screen is a me.fzzyhmstrs.fzzy_config.screen.PopupWidgetScreen